package com.durian.system.api;

import com.durian.common.core.constant.ServiceNameConstants;
import com.durian.system.api.factory.RemoteRoleFallBackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(contextId = "remoteRoleService",value = ServiceNameConstants.SYSTEM_SERVICE,fallbackFactory = RemoteRoleFallBackFactory.class)
public interface RemoteRoleService {

    @GetMapping("/role/timedTask")
    public String timedTask();


}
